/**
 * Created by leo on 2017/6/16.
 */
import { Routes } from '@angular/router'
import { AppComponent } from './app.component'
import { ArticleComponent } from './article/article.component';

export const routes : Routes = [
  { path: '', redirectTo: 'home', pathMatch: 'full'},
  { path: 'home', component: AppComponent },
  { path: 'article', component: ArticleComponent }
]
